package com.shen.computer;

/**
 * Author:shen
 * CreateDate:2020/5/17.
 * Function:
 */
public class Kingston implements Memory{
    private String name;
    private int cap;
    public Kingston(String name, int cap) {
        super();
        this.name = name;
        this.cap = cap;
    }
    @Override
    public void work() {
        System.out.println("金士顿 :" + name + ",容量为" + cap + "的内存条开始工作 ");
        System.out.println("存数据,写数据");
    }
}
